package com.punai.externalccb.bo;

import com.punai.externalccb.domain.EcoCbhzinfo;

public class CbHzInfoBo {

    private Integer ID;

    private String Code;

    private String Name;

    private String Content;

    private Integer BidNodeID;

    private Integer YDDate;

    private Integer Order;

    private Integer PID;


    public Integer getID() {
        return ID;
    }

    public void setID(Integer ID) {
        this.ID = ID;
    }

    public String getCode() {
        return Code;
    }

    public void setCode(String code) {
        Code = code;
    }

    public String getName() {
        return Name;
    }

    public void setName(String name) {
        Name = name;
    }

    public String getContent() {
        return Content;
    }

    public void setContent(String content) {
        Content = content;
    }

    public Integer getBidNodeID() {
        return BidNodeID;
    }

    public void setBidNodeID(Integer bidNodeID) {
        BidNodeID = bidNodeID;
    }

    public Integer getYDDate() {
        return YDDate;
    }

    public void setYDDate(Integer YDDate) {
        this.YDDate = YDDate;
    }

    public Integer getOrder() {
        return Order;
    }

    public void setOrder(Integer order) {
        Order = order;
    }

    public Integer getPID() {
        return PID;
    }

    public void setPID(Integer PID) {
        this.PID = PID;
    }

    public static EcoCbhzinfo convert(CbHzInfoBo in) {
        EcoCbhzinfo out = new EcoCbhzinfo();
        out.setOid(in.getID());
        out.setCode(in.getCode());
        out.setName(in.getName());
        out.setContent(in.getContent());
        out.setBidnodeid(in.getBidNodeID());
        out.setYdDate(in.getYDDate());
        out.setPx(in.getOrder());
        out.setPid(in.getPID());
        return out;
    }


}
